import request from '../utils/request'

// 登录
export const loginApi = (data) => {
  return request({
    url: '/login',
    method: 'POST',
    data,
  })
}

// 获取验证码
export const getCodeApi = () => {
  return request({
    url: '/captchaImage',
    method: 'GET',
  })
}
